// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BeginAsyncMethod.cs" company="JDML Consulting Ltd.">
//   Copyright 2011 Photon Project - http://photon.codeplex.com
// </copyright>
// <summary>
//   Defines the BeginAsyncMethod type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Photon.Threading
{
    using System;

    public delegate IAsyncResult BeginAsyncMethod(AsyncCallback callback, object userState);

   public delegate IAsyncResult BeginAsyncMethod<TArg1>(TArg1 arg1, AsyncCallback callback, object userState);

   public delegate IAsyncResult BeginAsyncMethod<TArg1, TArg2>(TArg1 arg1, TArg2 arg2, AsyncCallback callback, object userState);

   public delegate IAsyncResult BeginAsyncMethod<TArg1, TArg2, TArg3>(TArg1 arg1, TArg2 arg2, TArg3 arg3, AsyncCallback callback, object userState);
}